package cn.tj212.xiaoyin.core.user.domain;

import cn.tj212.xiaoyin.common.orm.BaseEntity;

public class UserMessage extends BaseEntity {

    private static final long serialVersionUID = 5807364489679571489L;

    /**
     * 消息接收用户id
     */
    private Long userId;

    /**
     * 消息发送用户id
     */
    private Long sendUserId;

    private String sendUsername;

    /**
     * 引用id
     */
    private String refId;

    /**
     * 引用内容
     */
    private String refContent;

    /**
     * 通知的类型，1-评论，2-关注，3-答疑
     */
    private Integer type;

    /**
     * 0-未读，1-已读
     */
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(Long sendUserId) {
        this.sendUserId = sendUserId;
    }

    public String getSendUsername() {
        return sendUsername;
    }

    public void setSendUsername(String sendUsername) {
        this.sendUsername = sendUsername;
    }

    public String getRefId() {
        return refId;
    }

    public void setRefId(String refId) {
        this.refId = refId;
    }

    public String getRefContent() {
        return refContent;
    }

    public void setRefContent(String refContent) {
        this.refContent = refContent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
